package com.personnalManagerSystem.service.impl;

import com.personnalManagerSystem.model.Notice;
import com.personnalManagerSystem.mapper.NoticeMapper;
import com.personnalManagerSystem.service.INoticeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author liqing
 * @since 2022-04-05
 */
@Service
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements INoticeService {
    @Autowired
    private NoticeMapper noticeMapper;
    @Override
    public Notice selectNoticeByTitle(String title) {
        return  noticeMapper.selectNoticeByTitle(title);
    }
}
